﻿<?php
//------- INIT

require_once("include.php");

//------- DATA VERIFICATION


//------- LOGIC
$name; // Name of the group
$members = []; // List of the members in the group.
$member;
$files = []; // A list of the files this group owns / has acess to
$file;

$files = getFiles();

//------- HTML
?>
<html>
<body>
<div id="top">
	<? echo $name; ?>
	<div id="topLeft">
	</div>
	<div id="topRight">
		Filer i gruppen:
		<? foreach( $files->files as $file) { 	?>
		<p><? echo $file; ?></p>
		<? } ?>
	</div>
</div>
<div id="bottom">
	<div id="bottomLeft">
		Medlemmer i gruppen:
		<? foreach( $members->member as $member) { 	?>
		<p><? echo $member; ?></p>
		<? } ?>
	</div>
	<div id="bottomRight">
		
	</div>
</div>
</body>
</html>